FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 29572320@qq.com

RUN mkdir -p /app

WORKDIR /app

EXPOSE 19082

ADD ./target/dryad-web.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=dev"]
